package com.hmall.model;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

@Table(name = "mall_navigation_item")
public class MallNavigationItem {
    @Id
    @Column(name = "nav_id")
    private Integer navId;

    @Column(name = "navigation_id")
    private Integer navigationId;

    private String icon;

    private String name;

    private String author;

    public String getAuthor() {
        return author;
    }

    public void setAuthor(String author) {
        this.author = author;
    }

    /**
     * 创建时间
     */
    @Column(name = "create_time")
    private Date createTime;

    /**
     * 修改时间
     */
    @Column(name = "update_time")
    private Date updateTime;


    @Column(name = "nav_desc")
    private String navDesc;

    private String link;

    /**
     * @return nav_id
     */
    public Integer getNavId() {
        return navId;
    }

    /**
     * @param navId
     */
    public void setNavId(Integer navId) {
        this.navId = navId;
    }

    /**
     * @return navigation_id
     */
    public Integer getNavigationId() {
        return navigationId;
    }

    /**
     * @param navigationId
     */
    public void setNavigationId(Integer navigationId) {
        this.navigationId = navigationId;
    }

    /**
     * @return icon
     */
    public String getIcon() {
        return icon;
    }

    /**
     * @param icon
     */
    public void setIcon(String icon) {
        this.icon = icon;
    }

    /**
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * @return nav_desc
     */
    public String getNavDesc() {
        return navDesc;
    }

    /**
     * @param navDesc
     */
    public void setNavDesc(String navDesc) {
        this.navDesc = navDesc;
    }

    /**
     * @return link
     */
    public String getLink() {
        return link;
    }

    /**
     * @param link
     */
    public void setLink(String link) {
        this.link = link;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }
}